/*
 * Project Name:hbm-be.
 * File Name:CsSmNoticeDao.java
 * Package Name:com.hginfo.cs.be.dao.cs
 * Date:2018年04月24日 下午3:58:49
 * Copyright (c) 2016, hongguaninfo.com All Rights Reserved.
 *
 */
package cn.uce.common.omg.service;

import cn.uce.base.vo.IcsEmpVo;
import cn.uce.common.omg.dao.impl.IOmgEmpDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 公告表: cs_sm_notice. <br />
 * dao 层 <br />
 * Date: 2018年04月24日 下午3:58:49 <br />
 *
 * @author you
 * @since V1.0.0
 */
@Service("omgEmpService")
public class OmgEmpService {

    @Autowired
    private IOmgEmpDao omgEmpDao;

    public List<IcsEmpVo> getEmpsByCmsBaseOrgCode(String baseOrgCode) {
        return omgEmpDao.getEmpsByCmsBaseOrgCode(baseOrgCode);
    }

    public List<IcsEmpVo> getCccsEmpByRoleCode(String roleCode) {
        return omgEmpDao.getCccsEmpByRoleCode(roleCode);
    }

    public IcsEmpVo getEmpByCode(String empCode){
        return omgEmpDao.getEmpByCode(empCode);
    }

    /**
     * 根据机构编码查询不是自己的客服人员
     * @param icsEmpVo
     * @return
     */
    public List<IcsEmpVo> getEmpsOfNotSelfByRoleCodeAndCmsOrgBaseCode(Map icsEmpVo) {
        return omgEmpDao.getEmpsOfNotSelfByRoleCodeAndCmsOrgBaseCode(icsEmpVo);
    }

    public List<IcsEmpVo> getEmpsByRoleCodeAndCmsOrgBaseCode(Map<String, Object> map) {
        return omgEmpDao.getEmpsByRoleCodeAndCmsOrgBaseCode(map);
    }
    /**
     * 根据机构编码查询不是自己的网点客服人员
     * @param icsEmpVo
     * @return
     */
    public List<IcsEmpVo> getEmpsOrgNameOfNotSelfByRoleCodeAndCmsOrgBaseCode(Map icsEmpVo){
        return omgEmpDao.getEmpsOrgNameOfNotSelfByRoleCodeAndCmsOrgBaseCode(icsEmpVo);
    }
	public List<IcsEmpVo> findEmpByBaseOrgCode(String baseOrgCode) {
		// TODO Auto-generated method stub
		return omgEmpDao.findEmpByBaseOrgCode(baseOrgCode);
	}

	public List<IcsEmpVo> findEmpByMap(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return omgEmpDao.findEmpByMap(map);
	}

	public String findOrgByEmpName(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return omgEmpDao.findOrgByEmpName(map);
	}
}
